package com.southwind.springboottest.studykotlin.s1



//TODO 19.Kotlin语言的Unit函数特点

fun main() {
    doWork("我就是我不一样的烟火")
    println(doWork("KT1"))
    println(doWork2("KT2"))
    println(doWork3("KT3"))
}
// :Unit不写，默认也有
private fun doWork(info : String) : Unit{
    return println(info)
}
private fun doWork2(info : String){
    return println(info)
}private fun doWork3(info : String){
    return println(info)
}